//
//  EZRequest.h
//  EasyJie
//
//  Created by easy120 on 15/6/12.
//  Copyright (c) 2015年 easy120. All rights reserved.
//

#import <Foundation/Foundation.h>

@class AFHTTPRequestOperation;

@interface EZRequest : NSObject

@property (nonatomic, strong) AFHTTPRequestOperation * requestOperation;

//HTTP请求的方法..
//@property (nonatomic) GRRequestMethod requestMethod;

//请求的参数
@property (nonatomic, strong) NSDictionary * requestParam;

//服务器地址BaseUrl
@property (nonatomic, strong) NSString * baseUrl;

//请求的URL
@property (nonatomic, strong) NSString * requestUrl;

//返回的数据
@property (nonatomic, strong, readonly) NSString * responseString;

//请求的数据类型
//@property (nonatomic) GRRequestSerializerType requestSerializerType;

//失败的回调
@property (nonatomic, copy) void (^failureCompletionBlock)(EZRequest *);

//成功的回调
@property (nonatomic, copy) void (^successCompletionBlock)(EZRequest *);


@end
